package com.situ.mall.dao;

import java.util.List;
import java.util.Map;

import com.situ.mall.entity.Product;

public interface ProductMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKey(Product record);

	int findProductCount();

	List<Product> findProductList(Map<String, Object> map);

	int findTopId(int categoryId);

	int deleteAll(String[] array);

	List<Product> selectProductListPage(Integer categoryId);

	List<Product> selectAll();
}